ANativeWindow_Buffer

Struct that represents a windows buffer.

A pointer can be obtained using {@link ANativeWindow_lock()}.

extern (C) nothrow @nogc
struct ANativeWindow_Buffer {}

Members

Variables

bits
void* bits;

The actual bits.

format
int format;

The format of the buffer. One of AHardwareBuffer_Format.

height
int height;

The number of pixels that are shown vertically.

reserved
uint[6] reserved;

Do not touch.

stride
int stride;

The number of *pixels* that a line in the buffer takes in memory. This may be >= width.

width
int width;

The number of pixels that are shown horizontally.

Meta